package com.xs.tool.controller;

import com.xs.tool.common.base.BasicController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Api(tags = "登录")
@Controller
public class LoginPageController extends BasicController {
    /**
     * @return
     * @note save
     * @date 202011070936
     * @Author xs
     */
    @RequestMapping(value = "/login", method = {RequestMethod.GET})
    @ApiOperation(value = "login", notes = "登录页面")
    public String login(
    ) {
        return "/login.html";
    }
    /**
     * @return
     * @note save
     * @date 202011070936
     * @Author xs
     */
    @RequestMapping(value = "/register", method = {RequestMethod.GET})
    @ApiOperation(value = "register", notes = "注册页面")
    public String register(
    ) {
        return "/register.html";
    }
}
